package com.lwlk.zdk.model.pw;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import java.util.Date;
public class pwVehiclePath {
    private Integer pathId;
    //路线名称
    private String pathName;
    //驶入车辆限制,取值范围为0到100000,不填表示无限制
    private Integer overCapacity;
    //生效时间
    private String effectiveTime;
    //失效时间
    private String failureTime;
    //超速报警
    private String overspeedAlarm;
    //驶入驶出标志 0 无报警 1 驶入需报警 2 驶出需报警 3 驶入驶出都需报警
    private String enterIntoAlarm;
    //驶出报警
    private String theDomainAlarm;
    //最高限速
    private Integer rateLimiting;
    //车辆id
    private String vehicleId;
    //车辆名称
    private String vehicleName;
    //创建时间
    private Date createTime;
    //经纬度划线区域数组
    private String pathArea;
    //1:行驶路线2:形行驶区域
    private Integer status;
    //半径，取值范围为0到5000，单位米，只能为整数,type为2时有效
    private Integer radius;
    //描述，长度范围为0到100
    private String description;
    //圆心经纬度 ,type为2时有效，字符串 例如 经度,纬度 12,456
    private String center;
    //矩形左上经纬度 ， type为1时有效,经纬度英文逗号分隔,如经度,纬度
    private String squareLeft;
    //矩形右下经纬度 ， type为1时有效,经纬度英文逗号分隔,如经度,纬度
    private String squareRight;
    //多边形顶点经纬度， type为3时有效，每个顶点经纬度用分号分隔 如 12,23;12,23
    @NotNull(message = "区域/路线不可为空")
    private String polygonVerticles;
    //路宽,type为5时有效,取值范围为0到500，单位为米
    private Integer roadWidth;
    //路线拐点经纬度,type为5时有效,经纬度以英文逗号分隔
    private String roadTurnVerticles;
    //围栏类型，0 线路围栏 1 矩形 2 圆形 3 多边形 4 涵洞 5 隧道 6高速公路
    private Integer type;

    private Integer platformId;
    //上层业务系统传送的机构id
    private Integer organizationId;

    public Integer getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
    }

    public Integer getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Integer platformId) {
        this.platformId = platformId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRadius() {
        return radius;
    }

    public void setRadius(Integer radius) {
        this.radius = radius;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCenter() {
        return center;
    }

    public void setCenter(String center) {
        this.center = center;
    }

    public String getSquareLeft() {
        return squareLeft;
    }

    public void setSquareLeft(String squareLeft) {
        this.squareLeft = squareLeft;
    }

    public String getSquareRight() {
        return squareRight;
    }

    public void setSquareRight(String squareRight) {
        this.squareRight = squareRight;
    }

    public String getPolygonVerticles() {
        return polygonVerticles;
    }

    public void setPolygonVerticles(String polygonVerticles) {
        this.polygonVerticles = polygonVerticles;
    }

    public Integer getRoadWidth() {
        return roadWidth;
    }

    public void setRoadWidth(Integer roadWidth) {
        this.roadWidth = roadWidth;
    }

    public String getRoadTurnVerticles() {
        return roadTurnVerticles;
    }

    public void setRoadTurnVerticles(String roadTurnVerticles) {
        this.roadTurnVerticles = roadTurnVerticles;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPathArea() {
        return pathArea;
    }

    public void setPathArea(String pathArea) {
        this.pathArea = pathArea;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public Integer getPathId() {
        return pathId;
    }

    public void setPathId(Integer pathId) {
        this.pathId = pathId;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName == null ? null : pathName.trim();
    }

    public Integer getOverCapacity() {
        return overCapacity;
    }

    public void setOverCapacity(Integer overCapacity) {
        this.overCapacity = overCapacity;
    }

    public String getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(String effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    public String getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(String failureTime) {
        this.failureTime = failureTime;
    }

    public String getOverspeedAlarm() {
        return overspeedAlarm;
    }

    public void setOverspeedAlarm(String overspeedAlarm) {
        this.overspeedAlarm = overspeedAlarm == null ? null : overspeedAlarm.trim();
    }

    public String getEnterIntoAlarm() {
        return enterIntoAlarm;
    }

    public void setEnterIntoAlarm(String enterIntoAlarm) {
        this.enterIntoAlarm = enterIntoAlarm == null ? null : enterIntoAlarm.trim();
    }

    public String getTheDomainAlarm() {
        return theDomainAlarm;
    }

    public void setTheDomainAlarm(String theDomainAlarm) {
        this.theDomainAlarm = theDomainAlarm == null ? null : theDomainAlarm.trim();
    }

    public Integer getRateLimiting() {
        return rateLimiting;
    }

    public void setRateLimiting(Integer rateLimiting) {
        this.rateLimiting = rateLimiting;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId == null ? null : vehicleId.trim();
    }
}